﻿
namespace MyFurion.Model
{
    /// <summary>
    /// 文件存储信息
    /// </summary>
    [SugarTable("Sys_File")]
    [Tenant(0)]
    public class SysFile:BaseEntity
    {
        /// <summary>
        /// 文件名称
        /// </summary>
        [SugarColumn(IsNullable =true,ColumnDescription ="文件名称")]
        public string FileName { get; set; }
        /// <summary>
        /// 文件类型
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDescription = "文件类型")]
        public string FileType { get; set; }
        /// <summary>
        /// 文件大小
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDescription = "文件大小")]
        public string FileSize { get; set; }
        /// <summary>
        /// 文件存储类别
        /// </summary>
        [SugarColumn(ColumnDescription = "文件存储类别 1：本地存储 2：FTP存储",DefaultValue ="1")]
        public EnumFileSaveType SaveType { get; set; }
        /// <summary>
        /// 文件存储路径
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnDescription = "文件存储路径",Length =500)]
        public string FilePath { get; set; }
        
    }
}
